package com.jugheadzhou.gateway.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

import java.util.HashMap;
import java.util.Map;

/**
 * 网关
 *
 * @author jugheadzhou
 * @date 2021-09-28
 */
@RestController
@RequestMapping("/")
public class IndexController {

    @GetMapping
    public Mono<?> index(){

        return Mono.just("this is a gateway service");
    }

}
